package com.explment.lens.controller.file;

import com.explment.lens.entity.SysFileStorageEntity;
import com.explment.lens.service.SysFileStorageService;
import org.springframework.web.bind.annotation.*;
import org.springframework.beans.factory.annotation.Autowired;
import com.explment.lens.utils.result.ResultData;
/**
 * 文件存储信息 controller
 */
@RestController
@RequestMapping("/sysFileStorageEntity")
public class SysFileStorageController {
    @Autowired
    private SysFileStorageService sysFileStorageEntityService;

    @GetMapping("/{id}")
    public ResultData getById(@PathVariable String id) {
        return ResultData.success(sysFileStorageEntityService.getById(id));
    }
}